import { BaseService, Service, Permission } from '@/cool';

@Service('crm/scoreMoney')
export default class extends BaseService {
	@Permission('scoreDetail')
	scoreDetail(params) {
		return this.request({
			url: '/scoreDetail',
			params: {
				...params
			}
		});
	}

	@Permission('moneyDetail')
	moneyDetail(params) {
		return this.request({
			url: '/moneyDetail',
			params: {
				...params
			}
		});
	}

	@Permission('userDetail')
	userDetail(params) {
		return this.request({
			url: '/userDetail',
			params: {
				...params
			}
		});
	}
}
